package com.hs.auth;

import com.hs.common.config.annotation.EnableHsFeignClients;
import com.hs.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 认证授权中心
 */
@EnableCustomSwagger2
@EnableHsFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"com.hs.auth", "com.hs.common"})
@RefreshScope
public class HsAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(HsAuthApplication.class, args);
    }
}
